/**
 * @description 统一定义mutation event Name
 */
export const mts = {
  // 切换sidebar
  toggleSidebar: 'toggle_sidebar',

  closeSidebar: 'close_sidebar',

  toggleDevice: 'toggle_device',

  setSize: 'set_size',

  addLog: 'add_log',

  cleanLog: 'clean_log',

  setToken: 'set_token',
  setPermissions: 'set_permission',

  setSysUser: 'set_sysUser',

  setTokenHead: 'set_tokenHead',

  setTokenType: 'set_tokenType',

  setIntroduction: 'set_introduction',

  setName: 'set_name',

  setAvatar: 'set_avatar',

  setRoles: 'set_roles',

  setRoutes: 'set_routes',

  setMenuRoutes: 'set_menu_routes',

  addVisitedView: 'add_visited_view',

  addCacheView: 'add_cached_view',

  delVisitedView: 'del_visited_view',

  delCacheView: 'del_cached_view',

  delOthersVisitedViews: 'del_others_visited_views',

  delOthersCachedViews: 'del_others_cached_views',

  delAllVisitedViews: 'del_all_visited_views',

  delAllCachedViews: 'del_all_cached_views',

  updateVisitedView: 'update_visited_view',

  // 设置侧边栏
  changeSetting: 'changeSetting',

  updateMenuCount: 'updateMenuCount',

  resetMenuCount: 'resetMenuCount',

  // 自服务重构
  setUserInfo: 'setUserInfo',

  // 资产分级分类
  setclassStandardTrees: 'setclassStandardTrees'
}

/**
 * @description 统一定义action event Name
 */
export const act = {}
